project(CMakePorts)
cmake_minimum_required(VERSION 2.6)

enable_testing()
include(Dart)

option(CMAKEPORTS_ASSEMBLE "A special mode for CMakePorts maintainers" ON)

if(CMAKEPORTS_ASSEMBLE)
    find_program(PATCH_PROGRAM patch
        PATHS ${CMAKE_SOURCE_DIR}/win32_patch/bin)
    find_program(WGET_PROGRAM 
    		wget 
        PATHS ${CMAKE_SOURCE_DIR}/win32_patch/bin 
    ) 
endif()

add_subdirectory(ports)

add_executable(build_prep_target_first build_prep_target_first.cc)
add_test      (build_prep_target_first build_prep_target_first)
